# def getPoint():
#     x = 10
#     y = 20
#     return x, y
#
# x, y = getPoint()
# print(x, y)

# x = 10
#
# def test():
#     # x = 20
#     # print(f'函数内部:{x}')
#     global x
#     x = 20
#
# test()
# print(f'函数外部:{x}')

# for i in range(1, 11):
#     print(i)
#
# print('---------------')
# print(i)

if True:
    x = 10

print(x)
